package com.robotserver.orders.service;

import com.robotserver.orders.entity.VipTokens;
import com.robotserver.orders.vo.VipOrderTimeVO;
import com.vip.adp.api.open.service.RefundOrderInfo;

import java.util.List;

/**
 * @Auther: jianghan
 * @Date: 2020/12/2 18:03
 * @Description:
 */
public interface VipRefundOrderSyncService {
    void threadSyncOrder(List<VipOrderTimeVO> vipOrderTimeVOS, List<VipTokens> vipTokens, String lock);
    void threadLockSyncOrder(List<VipOrderTimeVO> vipOrderTimeVOS, List<VipTokens> vipTokens, String lockName);
    void syncOpenUnitOrder(List<VipOrderTimeVO> vipOrderTimeVOS, VipTokens token);
    void syncTimeUnitOrder(VipOrderTimeVO time, VipTokens token, int page);
    void refundOrder(List<RefundOrderInfo> refundOrderInfoList);
    void threadSyncOrder_consumer(List<VipOrderTimeVO> vipOrderTimeVOS, VipTokens token);
}
